home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 May: Tool Chest / Dev.CD May 97 TC.toast / Sample Code / Snippets / QuickDraw / MyDeviceLoop / ReadMe < prev   
Encoding:
Text File  |  1996-09-17  |  816 b   |  22 lines  |  [TEXT/CWIE]

  1.  
  2.     Application:    MyDeviceLoop
  3.  
  4.     Description:    This snippet shows how to write a device loop that
  5.                     works under System 7 and pre-7.0 systems.  As
  6.                     described on pages 21-23 and 21-24 of Inside Mac
  7.                     volume VI, a device loop procedure searches all
  8.                     active screen devices, calling a drawing procedure
  9.                     whenever it encounters a screen that intersects
  10.                     the drawing region.  In this app the drawing
  11.                     region is the app's window bounds and the chosen
  12.                     drawing procedure simply displays the screen's
  13.                     colors for every device the window bounds intersect.
  14.                                                                                                 */
  15.     Files:            MyDeviceLoop.π
  16.                     MyDeviceLoop.c
  17.  
  18.     Programmer:        Edgar Lee
  19.     Organization:    Apple Computer, Inc.
  20.     Department:        Developer Technical Support, DTS
  21.     Language:        C (Think C version 5.0.1)
  22.     Date Created:    02-21-92